home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 76
/
XENIATGM66.iso
/
Indiana Jones
/
Indiana Jones.exe
/
RESOURCE
/
PREVIEW.GOB
/
cog_pyr_jeepmonitor.cog
< prev
next >
Wrap
Text File
|
1999-11-15
|
757b
|
47 lines
# Jones 3D Cog Script
#
# pyr_jeepmonitor.cog
#
# Global2 = 1 when Indy is in the jeep.
# Global2 = 0 when he gets out.
# Also force visibility on the static jeep when it's unboarded.
#
# [RKD]
#
# (C) 1998 LucasArts Entertainment Company LLC. All Rights Reserved
# ========================================================================================
symbols
message startup
message boarded
message unboarded
thing jeep
end
code
startup:
sleep(.01);
global2 = 0;
return;
boarded:
if (GetSenderRef() != jeep) return;
global2 = 1;
return;
unboarded:
if (GetSenderRef() != jeep) return;
# insurance against jeep disappearance
ClearThingFlags(jeep, 0x10);
global2 = 0;
return;
end